package com.alibaba.citrus.cr.common.util;

public class PageUtils {
    public static Integer getTotalPage(Integer total,Integer limit){
        if (total % limit == 0) {
            return total / limit;
        } else {
            return (total / limit) + 1;
        }
    }
}
